import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import show from '@/components/show'
import login from '@/components/login'
import regist from '@/components/regist'
import details from '@/components/details'
import order from '@/components/order'
import TwoPage from '@/components/TwoPage'
import choosesit from '@/components/choosesit'
import Moviehall from '@/components/Moviehall'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/hello',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/',
      name: 'show',
      component: show
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/regist',
      name: 'regist',
      component: regist
    },
     {
      path: '/details',
      name: 'details',
      component: details
    },
    {
      path: '/order',
      name: 'order',
      component: order
    },
    {
      path: '/twopage',
      name: 'TwoPage',
      component: TwoPage
    },
    {
      path: 'choosesit',
      name: 'choosesit',
      component: choosesit
    },
    {
      path: '/moviehall',
      name: 'moviehall',
      component: Moviehall
    }
  ]
})
